package org.jb.coinche.client.user;

/**
 * 
 * @author jeremie
 *
 */
public interface LoginPanel {

	/**
	 * 
	 * @author jeremie
	 *
	 */
	public static interface LoginPanelListener {
		
		void onLogin( String user, String password );
		
	}
	
	/**
	 * 
	 */
	void show();
	
	/**
	 * 
	 */
	void failed();
	
	/**
	 * 
	 */
	void hide();
	
	/**
	 * 
	 * @param listener
	 */
	void setListener( LoginPanelListener listener );
}
